fix too many open files