Match spaces in thread name