If stopServing were called followed immediately by startServing, the server would end up in an unpredictable state.