2 Phase Commit with and without failures