Fix race condition b/w enqueue and dequeue events

Change-Id: I86b7e7424bebb212a6d951e0e2622350137e09b2
1 file changed