[sr-dev] git:master:458d40eb: presence: dmq - init jdoc var earlier for proper cleanup in case of errors