Create and expand pools in background process.