test: optimise fd closing in forks