stop spinner in case of bad response

Change-Id: I991dfc7d014d6da97b564883ecf24fcd444adc6b
Reviewed-on: http://review.couchbase.org/24226
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>