Fix race in IterruptibleSleep.
Fix migration.
Split APNs batches by number of dispatchers.