Fixed a race condition between Drain and Acquire.