Prevent an immediate exit in certain scenarios