[SPARK-3089] Fix meaningless error message in ConnectionManager