Added calls to check if remote service is connected.