JCR-3399 - Shared ISM does not release the internal Writelock if something unexpectedly is happening in externalUpdate