Close open FDs on halt