factor child process reaping into it's own class