connect jobs are killed when the gui window is closed