Add :exit-on-close property for defapplet.