Chapter 2 - Recipe #2: Synchronized blocks - independent attributes