Sometimes it helps to be lucky.

Mayor Michael Bloomberg and Police Commissioner Raymond Kelly said Thursday that brothers Tamerlan and Dzhokhar Tsarnaev decided on the spur of the moment, after their photos were released to the world as suspects in the Boston Marathon bombings, to drive to New York and detonate five pipe bombs and a pressure-cooker device in Times Square.

The result could have been ghastly.

But the plot was foiled when the brothers carjacked an SUV that needed gas. When they stopped to refuel, said Kelly, the driver escaped and called police. Tamerlan wound up dead and Dzhokhar was captured later that day.

So a terrible crime was averted. But for many of us, a quiet sense of worry persists: What happens next time?

The police can't always prevent such crimes.

Among the many plots the NYPD has intercepted and neutralized since 9/11 was a 2010 attempt to detonate a car bomb in Times Square. Disaster was avoided -- barely -- when witnesses spotted the bomber's empty car next to a curb, parked and smoldering, and called police.

A couple of things are worth remembering:

While the NYPD has been criticized for hunting terrorists with excessive zeal, most often Kelly's aggressive stance is our best hedge against another attack. Roughly 1,000 officers are assigned to anti-terrorism work, and the city has wisely expanded the Lower Manhattan Security Initiative into midtown -- using features such as cameras and license-tag readers to monitor comings and goings in some of the most complex neighborhoods in the world.

New York's regular appearance on terrorist to-do lists should tell Washington that it's time to stop playing pork-barrel politics with anti-terrorism money. Common sense says federal cash should go where the threat is greatest -- not to the states where the wiliest political players live.

While the NYPD can't foil every plot, a vigilant police force and public -- always on alert and always ready to mobilize -- is imperative in a town that's still the nation's No. 1 terror target.

The NewsdayTV team looks at the most wonderful time of the year and the traditions that make it special on LI.  Credit: Newsday

'Tis the season for the NewsdayTV Holiday Show! The NewsdayTV team looks at the most wonderful time of the year and the traditions that make it special on LI.

The NewsdayTV team looks at the most wonderful time of the year and the traditions that make it special on LI.  Credit: Newsday

'Tis the season for the NewsdayTV Holiday Show! The NewsdayTV team looks at the most wonderful time of the year and the traditions that make it special on LI.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME