This was followed by a stunning volley in the last match of the league against Sepahan, a game which ended 2-1 thanks to Sepehr Heidari's extra time goal.
During the 2007/08 season Khalili became the top goalscorer by scoring 18 goals during the Persian Gulf Cup which persepolis won at the end.
In the summer break in an interview Ali Daei said that he did not need him anymore and a few days later the club announced that they could not reach an agreement with the player and were not renewing his contract.
He joined Steel Azin in Summer 2010 and stayed there for a season but again injuries did not allow him to become a regular player and after the relegation of the team his contract was automatically canceled.
He joined Mes Kerman in January 2012 and halfway through the season after he missed the first half because of the injury he had and was one of the regular players of the team.