Fix crash in timeout handling.