- concurrency problem with treads