WiFi telnet connection drops out?

Hi, I have an official Arduino wifi shield on a Mega 2560. When I run the Arduino 1.0 example program WifiChatServer & connect with telnet (on Ubuntu 12.04) the system works fine until I pause telnet sending for about 10 seconds. I then get a telnet message 'Connection closed by foreign host' and I cannot reconnect without restarting the Arduino serial port.

How can I avoid the unwanted connection closure?
How can I reconnect without restarting the Arduino serial monitor?

Thanks for any advice - Alex.

Alex,

For what its worth I have my Arduino Wifi shield connect to an UNO R3 using telnet (Putty - Windows 7) and I'm experiencing the same issue.

Apparently this is a bug in the WiFi library. See Google Code Archive - Long-term storage for Google Code Project Hosting.