fix stop http server method