I had something similar happen. I wound up changing from MicroPython version 1.25.0 to 1.24.1. So far, it seems to have solved my problem. I have to deinit in between listening to an NRF24L01 module. Can't run both both at the same time, so I have to listen, then stop listening, then init wifi, do networky things, then deinit wifi, then start listening again. After several cycles with the 1.25.0, it seemed to hang up when trying to deinit or init wifi.
Maybe downgrading is your solution??
Good luck!