workaround for crash 'Task is already running'