I have a little bug in the code.
I create and open a new instance of HttpSelfHostServer.
In some special cases i am forced to close the current server object, and open new one.
So i call the close function(And dispose the object) :

```
_server.CloseAsync().Wait();
_server.Dispose();
_server = null;

```

But still when i try to open a new Service with the same endpoint i get the following error:

```
System.InvalidOperationException: A registration already exists for URI 

```

And suggestions?