code: @Override
     public void shutdown()
     {
        shutdown = true;
        Collection<T> processes = pidToProcessMap.values();
        IntByReference exitCode = new IntByReference();
        for (T process : processes) {
           LibC.kill(process.getPid(), LibC.SIGTERM);
           process.onExit(Integer.MAX_VALUE - 1);
           LibC.waitpid(process.getPid(), exitCode, LibC.WNOHANG);
        }
     }
docs: {@inheritDoc}