synchronized (SimpleClient.this) {
clientConnection = null;
connectionStateChanging = true;
}
try {
oldConnection.disconnect();
} catch (IOException e) {
// ignore
if (logger.isLoggable(Level.FINE)) {
logger.logThrow(Level.FINE, e,
"Disconnecting after login redirect " +