Cleanup old client reference.