[TIMOB-17818] updated exitOnClose docs
Merge pull request #6243 from jonalter/TIMOB-17818

[TIMOB-17818] updated exitOnClose docs