cancel

public final Unit cancel()

Cancel any pending prepare or connect action and return the state to an appropriate starting point.