bugfix: peers version publishing might have race conditions.