Fix bug (workaround) when a blocking WaitSet query is canceled, the next blocking query will be block forever (timeout)