Made zmq_recv, zmq_send blocking, removed sleeping commands.

Issue #330.