add file shutdown.py socketerrors.py