Finish each transaction