There is a section describing how to do this in the WinFun User documentation RNWINFUN.DOC. Essentially you need to launch the Client Manager minimized with the rnShell function then hide it with rnHideWindow (you cannot launch the Client Manager hidden). When the application terminates, you close the Client Manager invisibly with rnCloseWindow.