endpoint: Fix missing tokens on migrate to remote
endpoint: Fix missing tokens on migrate to remote

Make sure that local endpoints dont not sync write and read position before
the in ports left over tokens are read.

les69/calvin-base,KaptenJon/calvin-base,KaptenJon/calvin-base,MalmoUniversity-DA366A/calvin-base,les69/calvin-base,KaptenJon/calvin-base,les69/calvin-base,EricssonResearch/calvin-base,EricssonResearch/calvin-base,MalmoUniversity-DA366A/calvin-base,les69/calvin-base,EricssonResearch/calvin-base,EricssonResearch/calvin-base,MalmoUniversity-DA366A/calvin-base