Add wifilock to avoid faulty wifi connection