bug fix: clear waiting on drain