Make sure to cancel the timeout if a read/write fails.
Make sure to cancel the timeout if a read/write fails.

Change-Id: I883a6af37b9dfcc4e6e6973f7a07102ee70d218b
Reviewed-on: https://gerrit.dechocorp.com/4745
Reviewed-by: Jeremy Stanley <8cc48e55af0ea00a29d3ccf3190022dccfb4961b@decho.com>
Reviewed-by: Russ Simons <c93a72122f3199b175c9b2766a6096fa95d517d4@decho.com>

adfin/mordor,mozy/mordor,cgaebel/mordor,cgaebel/mordor,ccutrer/mordor,ccutrer/mordor,ccutrer/mordor,mtanski/mordor,mozy/mordor,mtanski/mordor,mtanski/mordor,adfin/mordor,adfin/mordor,mozy/mordor