+class thread data race fixed;

thread is now more conforming and seems to be data-race free
next step - avoid using lambda-expression and create some bind-like
facility for binding arguments to routine call