reduce run length on processing folders so that other jobs on the event loop can work
use nextTick instead of sleeping a fiber where appropriate