Situation:
A Pyro4 server gives a Pyro4 client a Pyro4 proxy. 
I want to detect whether the client is still indeed using this proxy, so that the server can give the proxy to other clients.
My idea at the moment is to have the server periodically ping the client. To do this, the client itself need to host a Pyro Daemon, and give the server a Pyro4 proxy so that the Server can use this proxy to ping clients. 
Is there a cleaner way to do this?
I'd let the client report back to the server as soon as it no longer needs the proxy. I.e. don't overcomplicate your server with dependencies/knowledge about the clients.
How to check if Pyro4 client is still alive