Deleted unnecessary commented out code about timeout/ttimeout.