work around memory leak by disabling multiple stacks in exceptions
Merge pull request #375 from ooici/jira1093workaround

work around memory leak by disabling multiple stacks in exceptions