Revert read/write lock in favour of a single synchronization block.