retry 3 times on timeout