Made NetworkServer disposable