JCR-2092: Prevent a NPE on long running tx