a504dd866b
Commit b61cb920533e04 added a close method, use that instead of explicitly emitting the corresponding signal.