Checking errors overlooked by the connect handler