Maryland hardware store to close after half a century