terminate karma server if it's an orphan process