Try to run custom threads with ExecutorService.
The number of threads were more than capacity of the pool capacity.