concurrency/safe: improve code formatting