Reorganize R2 thread bucket manager v0.4.2 (first worked version, except VMSS), add templated class for possibility continue parallilize tasks. testing (no any changes must be currently). need check compile under win.
related to #1402 and some more old.