Remove unnecessary step from BWS.[[doClose]]

When [[onClose]]() throws, we just call [[error]] and it rejects [[closedPromise]].