I am using this library: https://github.com/pebbe/zmq4 for Go bindings of ZeroMQ.
My question is, how do I safely close a socket that's waiting for a message? I was thinking of creating a new context for every socket and then I could just terminate the context.
But the pebbe/zmq4 library doesn't allow me to create a new context (or so it seems to me).
Thanks for helping.