[No reviewer required] Fix UT crash when ConnectionPool returns no transport