Moving the Wifi lock into the connections manager.