exit worker when node controller is lost