Fixed connectionCheck() Logic Error

Changed the incorrect false to true