adding custom thread pool example