Use bagpipe as a quick fix for the error 'EMFILE, too many open files' caused by opening all files asynchronously