Implemented shutdown_request, shell_handler has reference to kernel to
shutdown (should be done via context). restart not implemented yet.