Create instance scopes per thread instead of one scope for all threads.