Added thread just to upload the registration id to the UMass server