Fix concurrent exceptions for SnakeYAML.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>