implemented start and stop wifi restarted at exit