Fix bug #3537. Replaced call of Delay() with WaitNextEvent() so that we'll yield to other processes if we're in some long wait for i/o.
Fix bug #3537. Replaced call of Delay() with WaitNextEvent() so that we'll yield to other processes if we're in some long wait for i/o.

thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr