Fix order of operations in pingback event registration

Change-Id: I5895996dbfde09d2ea1443f04c4191b15560fc22