updated --terminate to wait for all clients AND streams, this is usefull for source streams sill running