Ensure that we close all filehandles that aren't important to us on program initialization. This should help protect against filehandle-exhaustion scenarios