added a context listener for the background worker(s)