initialize variables before socket open
ignore timeout paramet in jython
event wait() has timeout parameter
don't call select.select() if timeout is None