Adding assert verifying that futures are ready when serialized
Remove example pipeline2