adding zmq_ctx_destroy(context) on failure