Clean up plugin listener