Adds usingNonResettingRepository for longer running tasks

- Does not reset after the end of the passed in block