reestablish db connection