changed lb_queue to store addresses and added try_lock function