[TIMOB-17818] 3_4_X make exitOnClose settable at any time

https://jira.appcelerator.org/browse/TIMOB-17818