errore in checkTimeout