Check auto_stop_csharp_server when shutting down

Check auto_stop_csharp_server instead of auto_start_csharp_server when
shutting down