Added logoff on subscribtion terminated state