remove get_thread() from api
Merge commit '9f46d7b'