Fixed fd leackage after reload
Merge pull request #139 from chaizhenhua/remotes/trunk

Fixed fd leackage after reload