Review Request 41: Patch14: Allow python to exit the provider even if there are threads running.