Kill subprocesses implemented.
Issue #25 and Issue #45 fixed.