close all FDs before running init