private void ClientForm_FormClosing(object sender, FormClosingEventArgs e) { clientService?.Stop(); }