fix “Too many open files in system” error