LMS-11179 Fix Assets with Split

@dmitchell @cpennington Please review.
this is actually a bug.  but this code is now rewritten to use a thread-local instead.  so no longer an issue.