If the cache is Hazelcast, once it's started, calling only System.exit(-1) does not stop the current process!