refactor
More refactoring

Avoid having to temporarily make @client an ivar. Instead, close all IOs
except the ones we want to keep.
do the & when definiting the constant
Handle signal forwarding when the worker process died
Refactor: maintain one level of abstraction