How do I cause a redirect after an after_save logic hook?

Hello,

     In sugar 7 pro, I created a logic hook for Leads module in order to delete a lead after I convert it. That works fine, but after the actions are done, sugar redirects me to the page of the record that have been converted. And so I got an error, because the lead is deleted. How can I redirect to listview after the execution of logic hook?

Iulia