Historic hardware store to close in SF