Add missing transaction commit.
Merge pull request #32 from sergeykalenyuk/improvement

Add missing transaction commit.