IMS applications must not specify an unlimited wait interval because
this would prevent the IMS system from terminating. (When IMS terminates,
it requires all dependent regions to end.) Instead, IMS applications can
examine the state of the ECB at regular intervals (see step
3). A program can have signals set on several queue handles at
the same time: