alternative synchronization using synchronize and closures