exit script as soon as it errors