minor fix - we forgot to import msgpack in thread.py