trying to fix error where too many files are open