this is a test sample for use java call OS command and then kill it if it running for a long duration