Put ping logic inside the downloads entity