add thread pools demo