try/catch blocks working in nested callback loops now with tests passing
i had to change the loop implementation to use a closure wrapper for the iterator variable