RecorderEndPoint: Ensure that recorder is stopped before destroying it

Change-Id: Ie8f5ac7121b67012d2d1b6ca2b1f9763a042adac