Is this code even necessary? It seems that GitHub automatically closes the PRs but this races with that, so some are considered "merged", some are considered "closed". (#14.)