correcao mqueue_destroy