Man dies of heart attack