Releases an ID after stream completion.
bool releaseId(int streamId) { return _activeIds.remove(streamId); }