Odd concurrency bugs