Leave BGworker on error.