retry request 2 times if it times out

(3 total requests)