[FIX] document_webdav: close another 2 cursors, avoid deadlock. taken from xrg git...