Ruby is unable to timeout a socket
stackoverflow.com