Fix queue_route so no mutex manager is used and put
lock of reroute_job_mutex before locking queue.