Fixed NetworkClient.

Fixed an issue in NetworkClient.