Support of thread local queries in RecordedQueries