Djokovic will still play in ATP Finals and Davis Cup this year