removing const from connection reference in callbacks