Added process.kill() on finish() to close