process pool Java implementation, based on apache commons-pool