warn about errors other than ECONNREFUSED

in wait_for_server

ECONNREFUSED is the expected event we are waiting for, but we don't want to silence other issues.