You may want to refactor `is_alive` and this loop so you don't connect and disconnect inside of `is_alive`