fixed errors in digest calls with timeout