Add support for read/write connection timeouts