Fix race in federation sender worker that delayed sending of device updates.