concurrency mistakes