Never perform transactions within a library

Transactions should be controlled by client code only.