migrated to using ESP8266 library, runs slowly