Prevent potential deadlock in failing write of time data