Prevent bad timing crashes.