Just to be clear, NYPD did not collect Rahmani. They collected evidence and dissiminated info in concert with Feds and media. Local police in Linden, NJ caught up with the guy after he was found asleep in front of a bar.
Other than for the wounded, this would have been a comedy of errors. (The story is stranger than I described, and involves random thieves and homeless people finding bombs. He also managed to blow up a garbage can at the beach. Barely.)