Caching resource for speed increase on large loops. Could cause memory issues if MT.process(fn, cb) is called repeatedly, optimize by declaring threaded functions explicitly before using repeatedly.