connection exception callback