Close WebSocketServer's selector to free socket

close the selector when the WebSocketServer's selectorthread is
finishing. This allows the port to be freed on stop() and another
instance to bind on the same port