I try settimeout 2s, 5s and 60s and still same problem.
I edited with IDLE and save only, i dunno if i have to do something else or reinstall.
Try to restart the app. I think this is communication error. The only thing I can do is to add a default value of 0 in case of a key error but the thing is that i cannot reproduce it to fix it.
Let me know if the restart fixed and we will see how we proceed