Make sure worker thread has a DB connection