Only attempting to rollback transaction if transaction is active
Merge pull request #1 from motin/master

Only attempting to rollback transaction if transaction is active