Controlling the service state