Clean up go-loops and channels on editor unmount