automatic re-intialisation on connection error on startup