Work around for bug that can be triggered by the finalizer thread invoking a proxy