When you close the NoMachine application you now get a dialog asking if you want to just disconnect from your session, terminate your session or cancel.
Let us know if this is useful or just annoying.