recordFailure

Records a failed request. Opens the circuit if threshold is exceeded.