Fix the bug that the running proxy does not stop when the user is signing out or shutting down the machine.
Fix the bug that the running proxy does not stop when the user is signing out or shutting down the machine.

ipponshimeji/MAPE