Have wifi connection function return success of attempt rather than sensitive connection information.