Is there an equivalent method to catch these timeout errors like io.EOF
switch err { case io.EOF: //DoSomething, like close connection ... case net.?: //handle timeouts }