Fork two times to avoid generating zombies