Script to test concurrency issues