HttpEndPoint: Show debug message only in the destroyed object

Change-Id: I583e0bffeac8a017f2a64b87c9bc1469bc5f86ab