Callback for registration id now is called on the main thread and can error out appropriately.