I need to intercept the logout event and execute a redirection before close the session

Right now I implemented an observer of the logout event and Im able to execute a redirection using the header(‘Location: …’) + exit solution, but this is not accepted by Magento2 since that breaks the normal flow.

I want to execute a redirection trying to get the control of the request and setting the URL… but Im not able to do it with an Observer. In the logOut Controller Action, the redirect path is hardcoded:

A solution might be, to create Plugin on the Logout Controller Action execute method and modify the resultRedirect return value, or overide the full controller

I dont know how to do that, and wonder if you can provide an example.