move the newly created ConnectionChecking logic out of appDelegate