sometimes flags where removed from scout in the KEEP_OPEN case