Remove unnecessary thread execution from IdeDocumentListener