Apply .on.off to .network when network.isConnected
Merge pull request #18 from Zren/networkoff

Apply .on.off to .network when network.isConnected