stop the service before rekeying