Fixed ConnectionError bug.