Add logic to support pg async client, as well as some example code to do double callbacks