fix query timeouts not being raised by broker