Add support for cancelling connection

Change-Id: Iba4a002ab86e62d87ae1175b75c203d3a86ad7c6
2 files changed