added read and write timeouts, which don't seem to work
up the version number