replace deprecated getSite imports using zope.component.hooks
set daemon mode on post thread