Simplify code in time stamper thread and make sure the dup-ed stderr is closed in the end.
Simplify code in time stamper thread and make sure the dup-ed stderr is closed in the end.

da-woods/cython,da-woods/cython,cython/cython,scoder/cython,cython/cython,scoder/cython,da-woods/cython,cython/cython,cython/cython,scoder/cython,scoder/cython,da-woods/cython