Handle errors on initial connect