@Override
            public void receive(Event[] events) {
                EventPrinter.print(events);
                inEventCount += events.length;
            }
Window shares locks event outside of queries. This test is to ensure that there is no
deadlock according to the implementation.

@throws InterruptedException throw exception if interrupted the input handler sender.
modules/siddhi-core/src/test/java/io/siddhi/core/window/CustomJoinWindowTestCase.java