Fix bug in streaming ticket cleanup