timer intitialize with max thread pool