Python Requests Try Except Retry