Fixed behavior of CancelConnect button.