set thread pool to 5