Restart reactor to close threadpool.
Update to 0.9.0.
Refactor threaded reactor.
[#1077] Refactor reactor restart to use public api.