Possibly fixed "Too Many open files" error