Minor change to cancelling connect/get tasks