No longer executing functions after an error