Various crash and bug fixes, restart manually instead of using API call.
Remove `shutdown()` hack, which does not work any more with dynamic API keys.