Remove redundant connection error code.