IDisposable ServerBase

Will prevent memory leak if the server is recreated many times.