Set ttl < number of tasks
all pool methods are now is the same file
add process.exit on child error