Queue is already thread safe, so there is no need for locking.