thread based work should put app.config in app context