I am trying to solve this task but program cannot finish normal way - after result id displayed, it need additional inputs to close reader and Exception is thrown in one of threads. Can you give me some hint?