So close
Put the process handling in wifi.process