Avoid post-close loop behavior