Corrected WiFi.connect() and WiFi.disconnect() related functionality