Thread.currentThread().interrupt();
correct implemantation of pattern "producer - consumer"