Handle requests ConnectionError, catch exception
check if attributes _socketIO and connection exists