do not call exit_shogun in java / csharp examples

- calling exit_shogun at the end of a java / csharp example is
dangerous: not all shogun objects might have been freed by the garbage
collector at this stage so calling exit_shogun was observed to destroy
essential helper objects that all shogun objects require at runtime
leading to unexpected crashes.