The worker keeps running when an export is marked as failed. the code check for error instead...
error