https://www.study24x7.com/post/94126/a-transaction-state-changes-from-active-to-after-the-tr-0