v1.0 RC3

added lock, fixed parallel threads exec