cancel request when connection is broken

[finishes #56561832]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>