I tried to add a local and a remote store to coordinator, and this caused to block the method call. So I just removed the first line.
[_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options: @{NSSQLitePragmasOption : @{@"journal_mode" : @"DELETE"}} error:&error];
[_persistentStoreCoordinator addPersistentStoreWithType:@"CustomIncrementalStore" configuration:nil URL:nil options:nil error:&error];