Try after_script instead of after_failure