Fix issues with the event server revealed during testing
Fix issues with the event server revealed during testing

1. It was not keeping track of its clients as they were accepted, so no
   events were ever sent out.

2. Changed the outermost loop to use a status var, since it can't be broken
   out of directly.

3. terminate() ignores a closed bridge pipe, since it means that the event
   server is already dead.

4. Fix some minor typos.

adamnew123456/jobmon