wrap mutex in networked flag