Iwd: Received error during CMD_TRIGGER_SCAN: Cannot allocate memory (12)

Today somehow my wifi disconnected and I couldn’t connect again. In the log I saw the error repeated a lot. I tried restarting iwd service but the same error would occur again. I could only resolve the issue by rebooting. Anybody have an idea why this might occur or how to workaround it without rebooting? This is the first time I have seen this error since I started using asahi about two years ago.