Implement Close()