Add example which freezes the GUI