fix stream server stop