@Override
                        public void run()
                        {
                            pollerEnabled[0] = false;
                        }
Blocks the caller until the task is finished. Does not block the user interface thread.

@param task independent of the user interface thread (no widgets used)
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexManager.java