Ensure time is null after cancel, fixes shutdown problems