Acting fast helps avoid extinction