Emitting routes periodically to fix some state issues when the app goes to sleep