A same ruby thread pool (extracted from Puma, Ruby's threaded server)