Small-gain conditions for stochastic network systems