Update WindowsWebClient.cs

writer.Close() is needed in order to avoid an invalid JSON error being returned from API.