Understanding and Mitigating Timing Issues in Autonomous Systems