Fixed an issue with Render method crashing due to abrupt thread termination.