Adds method to stop server from idling