Free memory on Wio Terminal using WiFi

Maybe it automatically allocates several large buffers, for multiple simultaneous network communications, and web server operations, and crypto for secure communications? I wish the WiFi object could be constructed, and then deleted, with all its allocations released. You could go online and set time from NTP, check for messages, then free the memory. As it is, my Terminal tends to reboot, or exhibit undesired behavior when WiFi is loaded, but works well otherwise.