Improved snapshot feature stability, handled case with a long time of JavaScript func execution.