pass timeout through to python requests and add tests to test timeout exception