#2449: Avoid stopping if already in progress Currently it is possible to stop the proxy multiple times, causing shutdown routines to be called twice. This doesn't make any may even cause problems with some plugins. Cancel early if stopping is already in progress to avoid this. (commit: 7410ce9)