Seperated checkConnection flag