Update ConnectionCheckingSingleton.java

To make it simple and remove setter methods