graceful shutdown on ctrl+c

If ctrl+c is sent to the bot, catch it and allow the bot
to disconnect and shutdown gracefully.