ADD log_off feature in ngsi2cosmos