Fix bug that disconnect frequency does not disconnect or off-by-one

This commit fixes http raw and cs drivers.
Before this commit, with ops = 0, no disconnect happens and
with ops > 0, disconnect after (ops + 1) operations.

By this commit, http raw driver disconnects after each request when
ops = 0 and, otherwise, diconnects after exactly ops operations.