Set the error code to the more appropriate UV_ECANCELED instead of UV_EINTR when the handle is closed and there are in-flight requests.
Closes #367.