DevTools: properly dispose remote-debugging-pipe handles on Windows

CloseHandle method blocks indefinitely if file descriptor is blocked
on synchronous read.

This patch adds a CancelIoEx call to interrupt pending synchronous
read.

R=pfeldman

Change-Id: I90e838be58a6088fda8f927c9f06cfd832fc1adf
Reviewed-on: https://chromium-review.googlesource.com/c/1379314
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616965}
2 files changed