Auto clear and restart the bot on crash and graceful shutdown when desired
Deconflicted merge
Merge branch 'autorestart'