Adding a timeout on the KPI subscriber. Indeed, a condition race could appear if the system stop while we are recieving a multipart message.
Adding time out for a clean KPI subscriber logout.