Use scope.Close in return values (thanks joepie91).