Novak Djokovic said he hopes his default from the US Open will act as a powerful lesson in the future.