switched through2 to through as through2 was not doing the trick of waiting for the task to end properly. Refactoring FTW.