Then it must be part of the initial connection that the webclient needs to make. It probably retains some of the conneciton information for any subsequent calls to make a connection, so they happen quicker than the first one.

you could download an image when the program loads so that the initial connection is made, and it won't feel as much of a delay