enable service itself to detect connection status and retry