python 2.5 fix
remove time hack
re-order read/exit order for travis