Hold wifi lock while scanning