rollback the transaction when an exception occurs
Merge pull request #19 from raduk/master

rollback the transaction when an exception occurs