Update Network interface OffOn

Removed Settimer and changed it into a loop for better speed and CPU usage.