Thread pool for handling clients