Releases the queue's lock.
Calling this function when you have not acquired the with @lock leads to undefined behaviour.
a AsyncQueue