Added msg_queue_fetch_wait()