fix file descr leaks error(close handle by close_in when quit cmd)