fixed the disconnect routine in common/utils.py and status.py