Fix Orchid deadlock 3

https://github.com/subgraph/Orchid/pull/10
Orchid: fix NPE when unbuilt circuit is closed