private void destroyEach(Object object) {
        if (object instanceof Closeable) {
            try {
                ((Closeable) object).close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
@deprecated Use {@link #onError(Request, Exception)} instead.
webmagic-core/src/main/java/us/codecraft/webmagic/Spider.java