414727 Ensure asynchronously flushed resources are closed