Extend read_timeout support to also include write_timeouts

Sometimes it's handy to prevent timeouts when sending a large query, too.