Add retry on timeout errors