}
}
logger.branch(Type.INFO, "Port change successful. Waiting for AS to reload...");
// Disconnect from server then attempt to reconnect (which should be unsuccessful until it has reloaded).
ctx.disconnectController();
attemptCommandContextConnection(4);
logger.unbranch();
logger.log(Type.INFO, "Port change successful");
logger.unbranch();