From the docs,
The correct use of \'uncaughtException\' is to perform synchronous cleanup of allocated resources (e.g. file descriptors, handles, etc) be