add test for timeout length
add debug messages for read and write flags
fix timeout length
change message when timeout
do not reconnect when read timeout
remove debugging code
Merge pull request #15 from shogo82148/fix-13

fix timeout length and do not reconnect when read timeout