Somali pirates seized more than 40 ships during 2008 , receiving millions of dollars in ransom payments .