During the end of a transaction (rollback or commit) a OMS-version is still open.
Make sure that all OMS-versions are closed before the transaction end is reached.