If Yarp is going to use multiple workers then this indeed is not going to work as expected.