Update PY3K Checking
better buffer reconnecting