Team India coach Ravi Shastri said that MS Dhoni knows when it is right to walk away and people should stop talking about his retirement.