Add --autorestart option for automatically restarting crashed components.