Add timeout constraint to streams