Automatically restart service as needed