Expose thread-factory.