Added stop recording to NMS REST.