Try to fix wifi interruptions. Original patch by @M66B commit 418f8390e3a7417e7a0fd7d6b2fc01bc490b4bd8