Reset the state when cancel pairing, fixes #117