A cleanup function to terminate all threads that have been created.
Success - [Boolean]
Returns 0/false if an error is detected, else returns 1/true.
This is a cleanup function to terminate any Web Worker threads that may have been created. It is important to use this to terminate threads if you want to recreate the WebRender instance.
WARNING: Executing this function will leave the WebRender instance in a broken state and no further drawing calls should be made after.