settings.setAliasEnabled(false);
console = new Console();
context.setOutputAdapter(new ConsoleIOAdapter(console));
console.addCompletion(new Completer(context));
ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
sessionPingTask = executor.scheduleWithFixedDelay(new PingTask(), SESSION_PING_TIMEOUT, SESSION_PING_TIMEOUT, TimeUnit.SECONDS);
while (!context.isQuitting()) {
try {
context.refreshProperties();
String line = console.read(getPrompt()).getBuffer();