LPS-39277 Can give bad errors during shutdown