Fixes a theoretical race condition which could occur in Drain() (but was extremely unlikely).
Attach a file by drag & drop or click to upload