reinit database connection after database restart