Fixed fd leackage after reload