Checks that should prevent endlessly blocking when trying to send on an unconnected zmq socket.