coolio: support connection failed detection