Remove exits to properly use the infinite loop