If Walmart wants to keep their shelves stocked, they can use shippers who fly a flag that engenders safety. Note that the Maersk "Captain Phillips" Alabama was the first US-flagged ship to be hijacked in almost 200 years, so it does appear that the pirates pay attention.