Now we can do pause inside libraby scanner transaction.

NOTE: DB is still locked while tranaction is open but not commited.