Is ZMQ Socket still open?



How could I check whether a ZMQ Socket is still open/available/working?

Sometimes a ZMQ.send just does not come back for me
This can be after the socket and context have been created a long time ago

I guess a timeout on the send could also help - is there a way to do that?