Stop/halt the xhr call

What is the difference between XHR.stop() and XHR.halt() ?
Used XHR.halt() to stop the xhr poll. Want to run the poll after server restart using XHR.run().
But restart of uhttpd runs the halted XHR call before executing XHR.run().