mq_send err: new open in thread