action/network: Fixed lock - use class-based mutex instead of instance-based

Related to [GH-148]