Abort when there was an error.