@Override public void close() throws IOException { try { inputSession.stop(); } catch (InterruptedException e) { e.printStackTrace(); } }