cancel

fun cancel()

Cancel taking snapshot if it was running.