If no server is specified, retry until a server works.

It does work, there are no tests however.