improved the custom request handling thread pool