concurrency and use of temporary tables