fix bug in process.Pool events collector