How many times have you tried to stop the http task on a Domino server and got this back on the console
HTTP Server: Waiting for session to finish: Session State [Processing Request]
And there you are waiting and waiting for the http to restart och shut down
The solution is not to use tell http quit or tell http restart if you want to shut down http
Use restart task http instead if you want to restart http or restart task http and when the task is restarted use tell http quit.
This will force the http to restart and will not stall the restart because there are some long running requests or view updates that is blocking the restart.
Update: if your using XPages see the Wait is over part 2