Add Exception handle, TestConnection()