Handle IOError connection timed out