the local session is registered as a synchronization for automatically closing the underlying vcs connection associated with the current thread. We were leaking connection at commit and we fixed by closing the vcs connection in the before completion handler (NXP-14185). But we didn't figured out that we should also close the vcs connection in the after completion in case of a rollback.