always exit on deploy error. workaround for #4