Don't return a connect error when running as an agent (since it will reconnect).