Removes listeners and releases internal server listener. After calling this method, this instance is dead and its features are undefined in that case.