adding support for Rootbeer.setThreadConfig