added handling for DeadlineExceededError