Addresses potential test failures on Windows due to locked files during temporary directory cleanup.
Implements `ignore_errors=True` when removing temporary directories to prevent `shutil.rmtree` from failing when files are still locked by the process.