private void checkToInterrupt() {
        System.out.println(queue.peek().getName());
        if(callee != null
                && callee.getName() != null
                && !queue.isEmpty()
                && queue.peek().getName().contains("write")
                && callee.getName().contains("read")
                && future != null
                && !future.isDone()) {
            future.cancel(true);
            System.out.println("Cancelling... " + callee.getName());
            future = null;
        }
    }