Made StreamPositionRepository async