Moved autocommit (finally block)
Merge pull request #9 from Druotic/HP

 Moved autocommit (finally block)