try to fix EMFILE error for logger