Link agent process

This way, the restart strategy set in AgentSupervisor will ensure
the agent is restarted when its process is terminated (i.e. when
the socket is closed).