Change to use a raw pointer for accepted connection so that we can wait

on the promise more than once.