Change status in status bar
Problem solved with global variable and function which registered as blender timer.
status = {'prev': None, 'new': None}


def set_status(text):
    try:
        status.update({'prev': status['new'],
                       'new': text})
    except:
        pass


def status_timer():
    try:
        if status['new'] != status['prev']:
            bpy.context.workspace.status_text_set(text=status['new'])
        return 1
    except Exception as e:
        return None

and add to register() function
bpy.app.timers.register(status_timer)