When requesting an analysis several times within VSCode (e.g. first workspace analysis then current file analysis) the first analysis will not be stopped. So the process still runs and sends server request although it is not necessary anymore.
The proc.kill() line doesn't seem to work properly.