Classic "ping-pong" concurrency task