Security guard pounces on armed man at New York medical clinic