Handle situation of picking wrong target java process.