[test] fix yarp test was blocking at 2nd pass

That's a workaround à la ros.
It seems pyarp can't reconnect properly in the same instance (like rospy).
Let me know if it's fine with you, and I'll merge.