[[Bugfix 12107]] exit causes LC server to crash