Treat certain WiFi networks as mobile/cellular
If you go to Settings > Data usage and open the menu, then select Mobile hotspots you can select Wi-Fi networks that should be treated as mobile hotspots.

This should restrict the data usage when connected to these networks.

 
Data Usage and Mobile Hotspot screens (click images for larger variants)