How taking the fight to pirates is turning the tide