added timeout in client loop to boost up response time. (suggestion from http://forum.arduino.cc/index.php?topic=196429.0)