fix CompositeTask#get_time_required