Make the bot able to restart itself (fixes #64)