Erregistroa posta elektronikoz bidali: Optimal control for networked control systems with multiple delays and packet dropouts