Update ConnectionCheckingService.java

Error Handling Code