checkconnection