Don't access resources while we're cleaning up