Clean zeromq medium