Remove boost_thread dependency

Fixes RIPD-216