cancel

fun cancel()

Cancels the scan part

Throws

the part can not be used anymore