yeah... it was "cleaner" when have the promise on flush(...) in this case