Fixed an issue with destroying thread pools that could cause a crash if one of the threads was not successfully created. Fixed an issue on macOS where timers would become unreliable, leading to hangs and other strange behavior. If you experience emulator hangs on macOS, please create an issue in Issue Tracker.