update abort & error show & sessionRelease in defer