class AutoCloseInputStream extends ProxyInputStream {

    @Override
    public void close() throws IOException {
        in.close();
        in = new ClosedInputStream();
    }

    public  AutoCloseInputStream(final InputStream in);

}