Improved the way DynanmoDB v2 connections get created.