* commit '3b4711176e77640d697e94137e65fa93c8363f5c': Add OnNetworkActive to TaskManager and simplify locking.