removed System.err.println on index closing