simulator adapted to newest tomP2P version
termination with limited awaiting