toggle synchronized block