WaitQuery: Fix: check condition_fulfilled() at first. timeout after.
WaitQuery: Fix: check condition_fulfilled() at first. timeout after.

kaji-project/shinken-mod-livestatus,shinken-monitoring/mod-livestatus,staute/shinken-mod-livestatus,shinken-monitoring/mod-livestatus,kaji-project/shinken-mod-livestatus,staute/shinken-mod-livestatus