Don’t die when connecting to a full server.

Fixes an oversight in #6573.