cancel method

void cancel()

Cancel the request.