Terror plot foiled in NYC