Add reconnection capability to bot