First stab at porting taskd