TRANSACTION_NOT_CLOSED

Database can't be closed while a transaction is open