added timeout/retry logic for cwbquery mulithreading block, also made cwbquery try/catch vars configurable