Added a callback for connection completion. CR: Russ