less code under the lock in enqueue()
uuid -> uint for session ids