Merge "Print thread name for attempting to unregister unattached thread"