extending adapter.close() to call bot.disconnect()