Define a timeout
It could be useful to define a timeout at the query level to avoid that bad queries run during hours and freeze your test-suite. This feature is supported by NBi with the attribute timeout-milliSeconds at the level of a query. If no value is specified then the query will run until it returns.
<result-set>
<query timeout-milliSeconds="60000">
select * from myTable
</query>
</result-set>