Added timeout to python driver

Fixes issue https://github.com/rethinkdb/rethinkdb/issues/1033 for the python driver