Use separate YAML instance for each thread, since SnakeYAML is not thread-safe.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>