added threading for special patients -- for debuging only
increased number of threads to 10