Put all operations of enqueueAtFront() in a synchronized block