checkForTimeout