Kill the script when there's a scale error

forever.js will restart it so it will work. This is not an optimal
solution but a quick fix.