Troubleshooting more checkConnection()