Resolved#16 if auto-commit is disabled when the connection is returned then rollback() will be called automatically.