Robust multi robot cooperation through dynamic task allocation and precaution routines