Decentralized task allocation for surveillance systems with critical tasks