Fixed connection error response bug.