[Bug 875] Wine does not close socket