Shutdown service when there is no connection as well.