Arduino Ethernet Not Disconnecting

Here’s my problem: I am designing a home automation system with the Arduino Mega. Watching the serial monitor, right after “client disconnected” (I’m using a modification of “Web Server”), it says “new client”, but Chrome doesn’t show that it is loading, and it doesn’t print anything after that, even when I try to reload the page. About a minute later, though, it says “client disconnected”, and then I can connect again. It’s odd that is detecting a new client, just after it disconnected. Does anyone have any advice on this?

Does anyone have any advice on this?

Some code you didn't post doesn't do what you want? Hmm, no can't think of thing you could do. Sorry.