close zmq_msg_data after copying it's inner content