US trade deficit rises more than 5% in October