Restart on error instead of stopping