It seems that for mysql driver and one other there is a sql_timeout parameter available. I could not find the documentation for it - it seems it should be included in the sql.conf
file.
Looking at the code it appears that minimum value should be 3 since the parameter is divided by 3 (because of retries) and it seems that a 0 would result in no timeout.
johnh...