Comparison between synchronized and not synchronized methods - shows race condition.