Ordered now stops in reverse order

* Signal and wait for ordered shutdown
* Fix incorrect locking when updating data structures
* Remove race in http_server_test

[#81411580]