move Close() into sockCopy as spdystream doesn't support SetReadDeadline() well