When replaying offline mutations in OfflineRestoreHandler, offline queue should be closed, so that all mutations are back in queue. Then queue can be opened depending on network state. This way IDs will be updated also when replaying mutations.