Remove boost_thread dependency (RIPD-216).

Fixes RIPD-216