Upgrade thread dep to 0.0.4