A query through AcuXDBC has a default timeout of 2 seconds, but you can use the QUERY_TIMEOUT variable in your acuxdbc.cfg configuration file to change the timeout.
In the acuxdbc.cfg file, set QUERY_TIMEOUT to a value (in seconds), or set to 0 (zero) so that queries never time out.