Cancel the httpc request when we do a voluntary shutdown