Cancel currently-running provisioning session (if any) and sets the state to Idle.
Note: cancellation is asynchronous and is typically not going to happen yet when this function returns.