add ability to set thread name