dock: entry: rApp/nApp : handle mutlithread problem