Be more forgiving or errors in enable_thread_safety()