Attempt to resolve an observed deadlock during shutdown.