psutillibrary is installed on the machine running the process.
psutilis installed, the current process and its children are aborted by sending SIGTERM, if, after the grace period, processes are not terminated, SIGKILL is sent.
psutilis not installed we make the best effort to stop the process (invoking
os.exit()etc.), but it's not guaranteed to work in every environment.