Added callback to finish connection. (not required)