fix(thread): add utility methods