add wait-after-exit flag