New York City Mayor Eric Adams says he will pull out of the city's Democratic primary and will instead run for reelection as an independent candidate.