move mq_close() back