Runtime error atexit.py

Good day everyone! Recently got the following errors doing flashing of AVR chips. Any idea how to fix this?
OS: macOS 10.14.2
Atom: 1.33.1
PIO: 2.3.1

Thanks!

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/Users/123/.platformio/penv/lib/python2.7/site-packages/platformio/telemetry.py", line 375, in _finalize
    backup_reports(MPDataPusher().get_items())
  File "/Users/123/.platformio/penv/lib/python2.7/site-packages/platformio/telemetry.py", line 391, in backup_reports
    for key in params:
RuntimeError: dictionary changed size during iteration
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/Users/123/.platformio/penv/lib/python2.7/site-packages/platformio/telemetry.py", line 375, in _finalize
    backup_reports(MPDataPusher().get_items())
  File "/Users/123/.platformio/penv/lib/python2.7/site-packages/platformio/telemetry.py", line 391, in backup_reports
    for key in params:
RuntimeError: dictionary changed size during iteration

Any idea how to fix this? And how does it affects anything?

Upgrade using pio upgrade --dev or the GUI and retry, the most recent version is 4.0.0a1 (check is using pio --version). If it’s reproducable under this version, upload a minimal example which reproduces the problem for your PC and then open an issue.

Looks like it does work now. Thanks!