process: thread: Forbid subclassing. Close handles when destroyed.
process: allow termination from Python.
Fixes #8.