[xtextdocument] don't do priorityReadOnly from non-ui thread