Distributed connectivity control of mobile networks