I noticed that a zeromq PUB socket will buffers all outgoing data if it is connecting, for example
import zmq import time context = zmq.Context() # create a PUB
They setting HWM option on the socket.